/**
 * SPDX-FileCopyrightText: 2023-2025 Sangfor Technologies Inc.
 * SPDX-License-Identifier: Mulan PSL v2
 */
/* 字体样式 */
@font-face {
    font-family: 'Nexa Light';
    src: url('./number-font/NexaLight.ttf.eot?t=1491354994132');
    src:
        /* IE9*/
        url('./number-font/NexaLight.ttf.eot?t=1491354994132#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('./number-font/NexaLight.ttf.woff?t=1491354994132') format('woff'),
        /* chrome, firefox */
        url('./number-font/NexaLight.otf?t=1491354994132') format('truetype'),
        /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
        url('./number-font/NexaLight.ttf.svg?t=1491354994132#iconfont') format('svg');
}

/*=================================================================================
 *
 *   重置系统默认样式
 *
 *=================================================================================*/
*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font: 12px 'Microsoft Yahei', Arial, 'Simsun', serif, sans-serif;
    -webkit-font-smoothing: antialiased;
    min-width: 1280px;

    /*!*这边由于抽屉组件抖动的问题加上这个暂时解决*!*/
    /*overflow: hidden;*/
}
#opa {
    display: flex;
    overflow: hidden;
}

/* 临时样式覆盖 */
#opa .org-tree .sfv-table_body {
    background: #fff;
}

/* 内容主体样式 */
.maintain {
    margin: 0 auto;
    width: 89.5%;
    min-width: 1280px;
}

.pull-container {
    margin-left: 256px;
}

.fix-left-nav {
    position: fixed;
}

#body {
    /*position: relative;*/
    height: calc(100vh);
    flex: 1;
    overflow: hidden;
    background: #262D40;
}

/* #body > div {
    margin-top: 12px;
} */

/* 默认背景色 */
.bgc-default {
    background-color: #efeff0;
}

/* 亮色背景、一级工具栏的背景色 */
.bgc-light,
.vmp-toolbar,
.toolbar-bgc-1 {
    background-color: #4d8dd9;
}

/* 暗色背景、二级工具栏的背景色 */
.bgc-dark,
.vmp-subtoolbar,
.toolbar-bgc-2 {
    background-color: #3c434a;
}

/* 一级工具条的样式 */
.vmp-toolbar {
    height: 44px;
}

.vmp-toolbar>ul {
    padding: 0 5px;
}

.vmp-toolbar li.btn {
    min-width: 68px;
    height: 44px;
    line-height: 30px;
    text-align: left;
    letter-spacing: 1px;
    color: #fff;
    background-color: transparent;
    border-color: transparent;
}

.vmp-toolbar li.btn:hover {
    color: #fff;
    background-color: #00bf02;
}

.vmp-toolbar li.btn.active,
.vmp-toolbar li.btn:active {
    color: #fff;
    background-color: #000;
}

/*带图标的按钮*/
.vmp-toolbar li.btn-icon {
    min-width: 98px;
    background-repeat: no-repeat;
    background-position: 15px 50%;
}

/* 二级工具条的样式 */
.vmp-subtoolbar {
    height: 36px;
    color: #fff;
}

.vmp-subtoolbar>ul {
    padding: 5px 5px 5px 10px;
}

.vmp-subtoolbar>ul>li {
    display: inline-block;
}

.vmp-subtoolbar li.separator {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 2px;
    background-color: #49525b;
    vertical-align: middle;
}

.vmp-subtoolbar li.btn {
    height: 26px;
    min-height: 26px;
    line-height: 22px;
    display: inline-block;
    min-width: 60px;
    padding-top: 0;
    border-radius: 3px;
    background-color: transparent;
    border-color: transparent;
}

.vmp-subtoolbar li.btn:hover {
    color: #fff;
    background-color: #4d8dd9;
}

.vmp-subtoolbar li.btn.active,
.vmp-subtoolbar li.btn:active {
    color: #fff;
    background-color: #3c434a;
}

.vmp-subtoolbar li.btn.disabled,
.vmp-subtoolbar li.btn[disabled] {
    color: #7f7f7f;
    background-color: transparent;
    cursor: default;
}

.vmp-subtoolbar li.btn-icon {
    min-width: 80px;
    background-repeat: no-repeat;
    background-position: 10px 50%;
}

/* 给面板用的工具条样式 */
.vmp-panel-toolbar {
    height: 37px;
    background-color: #3c434a;
    color: #fff;
}

.vmp-panel-toolbar>ul {
    padding: 6px 5px 8px 10px;
}

.vmp-panel-toolbar>ul>li {
    display: inline-block;
}

.vmp-panel-toolbar li.separator {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 2px;
    background-color: #49525b;
    vertical-align: middle;
}

.vmp-panel-toolbar li.btn {
    height: 26px;
    min-height: 26px;
    line-height: 19px;
    display: inline-block;
    min-width: 60px;
    padding-top: 1px;
    background-color: #3c434a;
    border-color: #3c434a;
    border-radius: 1px;
}

.vmp-panel-toolbar li.btn:hover {
    color: #fff;
    background-color: #4d8dd9;
    /* border-color: #4d8dd9;*/
}

.vmp-panel-toolbar li.btn.active,
.vmp-panel-toolbar li.btn:active {
    color: #fff;
    background-color: #3c434a;
    border-color: #3c434a;
}

.vmp-panel-toolbar li.btn.disabled,
.vmp-panel-toolbar li.btn[disabled] {
    color: #7f7f7f;
    background-color: transparent;
    cursor: default;
}

.vmp-panel-toolbar li.btn-icon {
    min-width: 80px;
    background-repeat: no-repeat;
    background-position: 10px 50%;
}

/*带下拉箭头的按钮*/
.vmp-toolbar li.btn-arrow,
.vmp-subtoolbar li.btn-arrow,
.vmp-panel-toolbar li.btn-arrow {
    padding-right: 20px;
    position: relative;
}

.vmp-toolbar li.btn-arrow:after,
.vmp-subtoolbar li.btn-arrow:after,
.vmp-panel-toolbar li.btn-arrow:after {
    content: '';
    display: inline-block;
    position: absolute;
    background: url('./img/icon/dropdown-arrow.png') no-repeat;
    right: 3px;
    top: 50%;
    margin-top: -2px;
    width: 12px;
    height: 7px;
}

.sim-link {
    color: #4677c6;
    cursor: pointer;
    border-radius: 0;
    text-decoration: none;
}

.sim-link[disabled] {
    color: #999999!important;
    background-color: transparent;
    cursor: default;
    text-decoration: none!important;
}
.sim-link:hover {
    color: #f00;
    text-decoration: underline;
}

a.btn-link.btn-link-blue {
    color: #4677c6;
    margin-right: 9px;
}

a.btn-link.btn-link-blue:hover {
    text-decoration: none;
}

.ellipsis {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.mul-ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 组件公共样式覆盖 */
.sfv-modal .sfv-msgbox {
    max-width: 800px;
}

.hand {
    cursor: pointer;
}

.sfv-modal_footer {
    overflow: hidden;
}

.sfv-msgbox {
    max-width: 800px;
}

.sfv-time-field {
    line-height: normal;
}

.sfv-panel_body-inner {
    padding: 0 12px;
}

.sfv-fieldlabel-left {
    padding-left: 1em;
}

.sfv-fieldlabel-left>.required-mark {
    float: left;
    margin-left: -10px;
}

.no-padding {
    padding: 0;
}

.green {
    color: #1ac575;
}

.blue {
    color: #00f;
}

.red {
    color: red;
}

.gray {
    color: #aaaaaa;
}

.orange {
    color: #ea8010;
}

.danger {
    color: #ee5555;
}

.warn {
    color: #ff9800;
}
.failed{
    color:red;
}
.running{
    color:#2a6496;
}
.success {
    color: #22b07b;
}

.primary {
    color: #4d8dd9;
}

.hasMarked {
    color: #ccc;
}

fieldset {
    padding: 20px 0 5px 0;
    vertical-align: top;
    text-align: left;
    border: 1px solid #ccc;
    margin-bottom: 20px;
}

fieldset legend {
    margin-left: 12px;
    margin-bottom: 0;
    width: auto;
    font-size: 15px;
    padding: 0 12px;
    border: 0;
    color: #333;
}

.required-mark {
    width: 5px;
    display: inline-block;
    color: red;
}

.scloud-shadow {
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.05);
    background: #fff;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    overflow: hidden;
}

.sfv-page {
    background: #fff !important;
    border-top: 1px solid #eee;
    padding: 8px 16px;
}

.branch-icon {
    width: 16px;
    height: 16px;
    background: url('./img/icon/branch.svg') no-repeat;
}

.org-tree .sfv-tree_row {
    box-shadow: none;
}

.org-tree .sfv-table_row-selected {
    background: #edf3fb;
}

.sfv-notify-wrap {
    z-index: 9999;
}

.flex-item {
    display: flex;
}

.safety-risk-stage__marked {
    display: inline-block;
    position: relative;
}

.safety-risk-stage__marked:after {
    content: '';
    height: 1px;
    width: 110%;
    background-color: #fff;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: -4%;
    margin: auto;
}

/* 这一块是处理按钮样式失效bug */
.common-btn__primary {
    display: inline-block;
    min-width: 70px;
    height: 24px;
    line-height: 24px;
    font-size: 12px;
    padding: 0 10px;
    border-radius: 4px;
    background-color: #4d8dd9;
    color: #fff;
    border-color: #4d8dd9;
    cursor: pointer;
    transition: none 0.25s ease-out;
    transition-property: background, color, border;
    text-align: center;
}

.common-btn__primary.common-btn__primary--disabled {
    background-color: #eee;
    color: #666;
    border-color: #ddd;
    cursor: not-allowed;
    pointer-events: auto;
}

.common-btn__primary:hover {
    border-color: #71a4e1;
    background-color: #71a4e1;
    color: #fff;
}

.common-btn__primary.common-btn__primary--disabled:hover {
    background-color: #eee;
    color: #666;
    border-color: #ddd;
}

::-webkit-scrollbar {
    width: 15px;
    height: 15px;
}

::-webkit-scrollbar:horizontal {
    border-top: 1px solid rgba(73, 80, 96, 0.1);
}

::-webkit-scrollbar:vertical {
    border-left: 1px solid rgba(73, 80, 96, 0.1);
}

::-webkit-scrollbar-button {
    display: none;
}

::-webkit-scrollbar-track {
    background-color: rgba(195, 203, 214, 0.1);
}

::-webkit-scrollbar-track-piece {}

::-webkit-scrollbar-thumb {
    border: 3px solid transparent;
    border-radius: 10px;
    background-color: rgba(73, 80, 96, 0.1);
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(73, 80, 96, 0.2);
}

::-webkit-scrollbar-corner {
    background-color: transparent;
}

::-webkit-resizer {}

.sfv-modal_body .sfv-modal_icon {
    padding: 0;
}
.link-btn {
    color: #4677c6;

    margin-right: 9px;
    cursor: pointer;
}
.link-btn.register-btn{
    width:72px;
    height:24px;
    border: 1px solid #C8D0E0;
    border-radius:2px;
    display: inline-block;
    line-height: 22px;
    text-align: center;
}
.link-btn.disabled {
    color: #bbb;
    cursor: no-drop;
    pointer-events: none;
}
.operate-title{
    padding: 0 12px!important;
    margin: 0 !important;
}
.font-important{
    color: #14161A;
}
.table-status__point::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 100%;
    display: inline-block;
    margin-bottom: 1px;
    margin-right: 7px;
}
.table-status__success::before {
    background-color: #17CB7A;
}
.table-status__fail::before {
    background-color: #FF5757;
}
.table-status__terminated::before {
    background-color: #FFAB45;
}
.table-status__running::before {
    background-color: #FF6358;
}
.table-status__queue::before {
    background-color: #165DFF;
}
.el-link {
    font-size: 12px!important;
}
